package lobby
{
	import flash.display.MovieClip;
	import flash.events.MouseEvent;
	import flash.text.TextField;
	import flash.text.TextFormat;
	import lobby.events.LobbyEvent;
	import lobby.exchangeddata.BetStatusItemInfo;
	
	/**
	 * ...
	 * @author Tom
	 */
	public class BetStatusItem extends MovieClip
	{
		public var txtBetRecNoTf:TextField;
		public var txtDateNoTf:TextField;
		public var txtTimeNoTf:TextField;
		public var txtTableNoTf:TextField;
		public var txtGameSetNoTf:TextField;
		public var txtBetCodeNoTf:TextField;
		public var txtResultNoTf:TextField;
		public var txtAmountNoTf:TextField;
		public var txtWinNoTf:TextField;
		public var txtCommissionAmountNoTf:TextField;
		
		public function BetStatusItem(value:BetStatusItemInfo)
		{
			if (value.getBetNo != "")
			{
				this.txtBetRecNoTf.text = value.getBetNo;
				this.txtDateNoTf.text = value.getDateNo;
				this.txtTimeNoTf.text = value.getTimeNo;
				this.txtTableNoTf.text = value.getTableNo;
				this.txtGameSetNoTf.text = value.getGameSetNo;
				this.txtBetCodeNoTf.text = value.getBetCode;
				this.txtResultNoTf.text = value.getResultNo;
				this.txtAmountNoTf.text = value.getAmountNo;
				this.txtWinNoTf.text = value.getWinNo;
				this.txtCommissionAmountNoTf.text = value.getCommissionAmount;
			}
		}
	}

}